import { takeEvery, put, delay} from "@redux-saga/core/effects";
import { SHOWMODELSAGA } from "../const/model.const";
import { show } from "../actions/model.actions"
function* show_saga_fun(){
    yield delay(2000)
    yield put(show())
}
export default function* modelSaga(){
    yield takeEvery(SHOWMODELSAGA,show_saga_fun)
}